﻿<UserControl x:Class="SlotDuino.UI.Controls.HeatRaceResult"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
             mc:Ignorable="d" 
             Loaded="UserControl_Loaded" IsHitTestVisible="False" VisualTextHintingMode="Auto" Name="control">
    <StackPanel>
        <Label Margin="0,0,0,5" Content="Próxima corrida em:" />
        <TextBlock x:Name="ttbCountDown" Width="180" HorizontalAlignment="Center" TextAlignment="Center" FontSize="28" Padding="10" Text="{Binding ElementName=control, Path=RemainingTime}" />
        <Label Margin="0,0,0,5" Content="Grid para a próxima corrida:" />
        <DataGrid Height="263" Margin="5" Background="{StaticResource SelectedBackgroundBrush}" AutoGenerateColumns="False">
                <DataGrid.Columns>
                    <DataGridTextColumn Header="Posição"/>
                    <DataGridTextColumn Header="Piloto"/>
                    <DataGridTextColumn Header="Fenda"/>
                    <DataGridTextColumn Header="Voltas"/>
                    <DataGridTextColumn Header="Média"/>
                    <DataGridTextColumn Header="Mais rápida"/>
            </DataGrid.Columns>
            </DataGrid>
    </StackPanel>
</UserControl>
